home *** CD-ROM | disk | FTP | other *** search
/ .net 2000 August / NET74.ISO / pc / Software / JavaApplet / AnfyMacBeta1.sea / Anfy for Macintosh / anjavapp / txtscroll / txtscroll.txt < prev    next >
Encoding:
Text File  |  1999-07-05  |  4.0 KB  |  96 lines  |  [TEXT/ttxt]

  1.  
  2.           Text Scroller - Copyright (C) by Fabio Ciucci 1998/99
  3.  
  4.  
  5. This is simply the scrolltext routine present in most of the applets, without
  6. any effect in the background.
  7.  
  8. In fact, the only parameters are background colour, and an optional background
  9. image.
  10.  
  11. *******************************************************************************
  12.  
  13. NECESSARY FILES
  14.  
  15. As well as an optional background image, the following 2 ".class" files 
  16. must be uploaded: 
  17.  
  18. txtscroll.class
  19. Lware.class
  20.  
  21. Plus, txtscroll.jar for speedy loading on recent browsers.
  22.  
  23. ******************************************************************************
  24.  
  25. EXAMPLE.
  26.  
  27. Insert the <applet> tag in your html document as follows to add this applet
  28. to your page (Comments after the ";" symbol are code explanations and
  29. acceptable min/max values. They are not part of the applet language):
  30.  
  31.  
  32. <applet archive="txtscroll.jar" code=txtscroll.class width="250" height="50">
  33. <param name="credits" value="Applet by Fabio Ciucci (www.anfyteam.com)">
  34. <param name="regcode" value="NO">          ; Registration code (if you have it)
  35. <param name="reglink" value="NO">          ; Optional URL link when the applet
  36.                                            is "clicked".
  37. <param name="regnewframe" value="YES">          ; Reglink opened in new frame?
  38. <param name="regframename" value="_blank">      ; Name of new frame for reglink
  39. <param name="statusmsg" value="TxtScroll applet">  ; Statusbar message
  40. <param name="backimage" value="NO">        ; Background image (it's name or "NO")
  41. <param name="backR" value="0">             ; Background colour (red component)
  42. <param name="backG" value="0">             ; Background colour (green component)
  43. <param name="backB" value="0">             ; Background colour (blue component)
  44. <param name="overimg" value="NO">          ; Optional image over applet
  45. <param name="overimgX" value="0">          ; Over image X offset
  46. <param name="overimgY" value="0">          ; Over image Y offset
  47. <param name="memdelay" value="1000">       ; Memory deallocation delay
  48. <param name="priority" value="3">          ; Task priority (1..10)
  49. <param name="MinSYNC" value="10">          ; Min. milliseconds/frame for sync
  50. Sorry, your browser doesn't support Java.; Message for no java browsers.
  51. </applet>                                ; End of applet tag
  52.  
  53. *****************************************************************************
  54.  
  55. INSTRUCTIONS.
  56.  
  57. The following instructions describe how to change parameters:
  58.  
  59. Attempting to change the "credits" parameter will disable the applet.
  60.  
  61. To activate the reg parameters read the shareware registration notes.
  62. In the "regcode" parameter, place the registration code you purchased 
  63. from the author. If the code is correct and the applet is run from
  64. the registered domain name, you can use "link" parameters to link to a URL
  65. when the applet is mouse-clicked.
  66.  
  67. If you set "regnewframe" to "YES", you can specify a specific frame location
  68. for the reglink:
  69.  
  70. "_blank"  : To load the link in a new blank unnamed browser window.
  71. "_self"   : To load the link into the same window the applet occupies.
  72. "_parent" : To load the link into the immediate FRAMESET parent.
  73. "_top"    : To load the link into the top body of the window.
  74.  
  75. You can also set a custom frame name, such as "myframe1".
  76.  
  77. With the "overimg" parameter you can specify the name of an image that will
  78. be painted over the applet. The best options are transparent GIF images.
  79. NOTE: Animated GIF images are supported, but will be animated only on latest
  80. browsers (Netscape 4 and Explorer 4 or newer).
  81.  
  82. With "overimgX" and "overimgY" you can center the image over the applet area.
  83.  
  84. The size of the applet is determined by "width" and "height" tags.
  85.  
  86. Use "backR", "backG", "backB" to change background colour.
  87.  
  88. If you want to display an image in the background, place its name in the
  89. place of "NO" at backimage parameter (for example "back.jpg").
  90.  
  91. The only requirement is that the background image must be the same size as
  92. the applet to completely cover it.
  93.  
  94. For scrolltext parameters, refer to general scrolltext instructions.
  95.  
  96.